package com.dayatang.hrm.compensation.domain;

import java.util.Date;

import com.dayatang.commons.domain.EntityRepository;

public interface SalaryDataSourcePropertySettingRepository extends
		EntityRepository<SalaryDataSourcePropertySetting, Long> {

	SalaryDataSourcePropertySetting get(
			SalaryDataSourceProperty dataSourceProperty, Date queryDate);

	boolean isNameAlreadyUsedExceptSelf(String name, Date fromDate,
			Date toDate, SalaryDataSourcePropertySetting selfSetting);

}
